package com.ruoyi.project.business.timeperiod.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * 工作站对象 schedule_time_period
 * 
 * @author ${author}
 * @date 2024-04-01
 */
@Data
public class AddTimePeriodRequest {

    /** 临工岗位ID */
    private Long tmpPostId;

    /** 临工岗位名称 */
    private String tmpPostName;

    /** 时段开始时间 */
    @JsonFormat(pattern = "HH:mm")
    private LocalTime segmentStart;

    /** 时段结束时间 */
    @JsonFormat(pattern = "HH:mm")
    private LocalTime segmentEnd;


}
